package cn.kgc.itrip.mapper.itripHotelRoom;

import cn.kgc.itrip.beans.model.pojo.ItripHotelRoom;
import cn.kgc.itrip.beans.model.vo.SearchHotelRoomVo;
import cn.kgc.itrip.beans.model.vo.itripSerchRoomListVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ItripHotelRoomMapper {

	public ItripHotelRoom getItripHotelRoomById(@Param(value = "id") Long id);

	public List<ItripHotelRoom>	getItripHotelRoomListByMap(Map<String,Object> param)throws Exception;

	public Integer getItripHotelRoomCountByMap(Map<String,Object> param)throws Exception;

	public Integer insertItripHotelRoom(ItripHotelRoom itripHotelRoom)throws Exception;

	public Integer updateItripHotelRoom(ItripHotelRoom itripHotelRoom)throws Exception;

	public Integer deleteItripHotelRoomById(@Param(value = "id") Long id)throws Exception;


	List<itripSerchRoomListVo> queryhotelroombyhotel(SearchHotelRoomVo vo);
}
